<div id="form_leave">
		<form-repeat class="approval-form-repeat" v-on:getrepeat="repeatFn" init='[{"name":"物品名称","value":""},{"name":"规格型号","value":""},{"name":"单价(元)","value":""},{"name":"数量","value":""},{"name":"总价(元)","value":""},{"name":"用途","value":""}]' btntext="增加明细" title="明细">
		 <template slot-scope="props">
		 	 <div class="weui-cells">
		 	 	<div class="weui-cell">
				    <div class="weui-cell__hd">
				    	<span style="color: red;">*</span>物品名称
				    </div>
				    <div class="weui-cell__bd">
				        <input class="weui-input" type="text" v-model="props.o[0].value"  placeholder="请输入">
				       	<div v-show="false" data-text="物品名称不能为空" :data-false="/^\s*$/g.test(props.o[0].value)" ></div>
				    </div>
				</div>
				<div class="weui-cell">
				    <div class="weui-cell__hd">
				    	规格型号
				    </div>
				    <div class="weui-cell__bd">
				        <input class="weui-input" type="text" v-model="props.o[1].value"  placeholder="请写明规格型号">
				    </div>
				</div>
				<div class="weui-cell">
				    <div class="weui-cell__hd">
				    	<span style="color: red;">*</span>单价(元)
				    </div>
				    <div class="weui-cell__bd">
				        <input class="weui-input" type="number" v-model="props.o[2].value"  placeholder="请输入">
				       	<div v-show="false" data-text="单价不能为空" :data-false="/^\s*$/g.test(props.o[2].value)" ></div>
				    </div>
				</div>
				<div class="weui-cell">
				    <div class="weui-cell__hd">
				    	<span style="color: red;">*</span>数量
				    </div>
				    <div class="weui-cell__bd">
				        <input class="weui-input" type="number" v-model="props.o[3].value"  placeholder="请输入">
				       	<div v-show="false" data-text="数量不能为空" :data-false="/^\s*$/g.test(props.o[3].value)" ></div>
				    </div>
				</div>
				<div class="weui-cell">
				    <div class="weui-cell__hd">
				    	<span style="color: red;">*</span>总价(元)
				    </div>
				    <div class="weui-cell__bd">
				        <input class="weui-input" type="number" v-model="props.o[4].value"  placeholder="请输入">
				       	<div v-show="false" data-text="总价不能为空" :data-false="/^\s*$/g.test(props.o[4].value)" ></div>
				    </div>
				</div>
				<div class="weui-cell">
				    <div class="weui-cell__hd">
				    	用途
				    </div>
				    <div class="weui-cell__bd">
				        <input class="weui-input" type="number" v-model="props.o[5].value"  placeholder="请写清用途以便更快通过">
				    </div>
				</div>
		    </div>
		</template>
	</form-repeat>
	<div style="padding: 6px 15px; padding-bottom: 0;">
		<span style="color: #CCCCCC;">总总价(元)</span>:{{ totalPrice }}
	</div>
	<upload_tpl v-on:getfile="getFilefn" name="图片"></upload_tpl>
    <dingding_users v-on:getdingdinguser="getApproveUsers" :approve_list="approve_list" :cc_list="cc_list" message="approve" title="审批人"></dingding_users>
    <dingding_users v-on:getdingdinguser="getCopyUsers" :approve_list="approve_list" :cc_list="cc_list"  message="cc" title="抄送人"></dingding_users>
    <div class="submit_warp">
    	<button class="submit_btn" v-touch:tap="submitFn">提交</button>
    </div>
</div>
